package com.sky.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    // 订单基本信息
    private Long orderId;
    private String orderNumber;
    private Integer orderStatus;
    private Long userId;
    private Long addressBookId;
    private LocalDateTime orderTime;
    private LocalDateTime checkoutTime;
    private Integer payMethod;
    private Integer payStatus;
    private BigDecimal orderAmount;
    private String orderRemark;
    private String userName;
    private String userPhone;
    private String userAddress;
    private String consignee;
    private String cancelReason;
    private String rejectionReason;
    private LocalDateTime cancelTime;
    private LocalDateTime estimatedDeliveryTime;
    private Integer deliveryStatus;
    private LocalDateTime deliveryTime;
    private Integer packAmount;
    private Integer tablewareNumber;
    private Integer tablewareStatus;
    // 订单详情信息
    private Long orderDetailId;
    private String dishName;
    private Long orderDetailOrderId;
    private Long dishId;
    private Long setmealId;
    private String dishFlavor;
    private Integer dishNumber;
    private BigDecimal dishAmount;
    private String dishImage;

}